@charset "UTF-8";
.topNav {
  margin: 0 auto;
  font-size: 12px;
  color: #828282;
  height: 35px;
  line-height: 35px;
  clear: both;
  background: #f5f5f5;
  border-bottom: solid 1px #eee;
}
.w {
  width: 1200px;
  margin: 0 auto;
  .fl {
    float: left;
    a {
      color: red;
    }
  }
  .fr {
    float: right;
    .dao_hang {
      text-align: center;
      li {
        position: relative;
        float: left;
        width: 110px;
        #out {
          position: absolute;
          top: -2px;
          float: right;
          font-style: normal;
          @keyframes demo {
            0% {
              transform: rotate(0deg);
            }
            100% {
              transform: rotate(180deg);
              // animation-fill-mode:none;
            }
          }
        }
        .ulbox {
          position: fixed;
          line-height: 35px;
          width: 110px;
          z-index: 15;
          background-color: ghostwhite;
          display: none;
          li {
            float: left;
            &:hover {
              background-color: cornsilk;
            }
            &:hover a {
              color: red;
            }
          }
          
        }
      
        &:nth-child(5) {
          width: 120px;
          // height: 160px;
          text-align: center;
          img {
            width: 100px;
            height: 100px;
            margin: 0 auto;
          }
        }
        &:hover {
          color: red;
        }
        &:hover #out {
          top: 4px;
          animation: demo 0.2s linear forwards;
        }
        &:hover .ulbox {
          display: block;
        }
      }
      .outlist:hover {
        background-color: ghostwhite;
      }
    }
  }
}
.header {
  padding: 20px 0 16px;
  height: 70px;
  .f {
    float: left;
  }
  #logo {
    width: 185px;
    margin-right: 13px;
  }
  #slogan {
    width: 170px;
    margin-right: 42px;
  }
  #search {
    width: 540px;
    margin: 7px 7px 0 0;
    position: relative;
    z-index: 11;
    display: block;
    float: left;
    .form {
      width: auto;
      height: 36px;
      .text {
        float: left;
        width: 450px;
        height: 24px;
        line-height: 24px;
        color: #666;
        padding: 4px;
        margin-bottom: 4px;
        border-width: 2px 0 2px 2px;
        border-color: #f40;
        border-style: solid;
        outline: 0;
        font-size: 14px;
        border-radius: 0;
      }
      .fdj{
        background: url(../img/sprite.png ) 15px -64px no-repeat;
        

      }
    }
    .button {
      position: relative;
      float: left;
      width: 80px;
      height: 36px;
      background: #f40;
      border: none;
      line-height: 1;
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      outline: none;
      i {
        display: block;
        width: 50px;
        height: 22px;
        line-height: 22px;
        margin: 0 auto;
      }
    }
  }
  #minicart {
    float: left;
    position: relative;
    z-index: 12;
    height: 34px;
    line-height: 34px;
    margin: 7px 10px 0 0;
    display: block;
    color: #000;
    .hd {
      position: relative;
      width: 80px;
      float: left;
      display: block;
      padding: 0 35px 0 10px;
      background: #faf9f9;
      border: 1px solid #e8cdc3;
      .rig {
        width: 34px;
        height: 34px;
        position: absolute;
        background: url(../img/sprite.png) -50px -130px;
        background-size:50px;
      }
      .count {
        position: absolute;
        right: -5px;
        top: -5px;
        background-color: #f40;
        color: white;
        width: 20px;
        height: 20px;
        line-height: 20px;
        border-radius: 50%;
        text-align: center;
      }
    }
  }
  #hotwords {
    width: 500px;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    a {
      float: left;
      white-space: nowrap;
      margin-right: 12px;
      color: #999;
    }
  }
  #wx-app {
    float: right;
    position: relative;
    img {
      position: absolute;
      top: -80px;
      left: -95px;
      z-index: 2;
    }
    .ii {
      position: absolute;
      top: -117px;
      left: -75px;
      font-size: 50px;
      color: white;
      font-style: normal;
    }
  }
}
#nav {
  height: 43px;
  border-bottom: solid 1px #000;
  .category {
    .cg-hd {
      width: 170px;
      position: relative;
      text-align: center;
      height: 43px;
      line-height: 43px;
      padding: 0 55px 0 10px;
      cursor: pointer;
      color: #fff;
      background:url(../img/sprite.png) 8px 6px no-repeat #f40;
      background-size: 62px;
    }
    .cg-bd {
      width: 235px;
      display: block;
      position: absolute;
      background: #000;
      border-bottom: solid 1px;
      border-top: solid 1px;
      z-index: 9;
      i{
        font-style: normal;
      }
      .item:hover .sub-cate {
        display: block;
      }
      .item:hover {
        background-color: white;
      }
      .item:hover a {
        color: #f40;
      }
      .item:hover i {
        color: #f40;
      }
      .main-cata {
        position: relative;
        height: 44px !important;
        line-height: 44px !important;
        overflow: hidden;
        padding: 0 20px 0 19px;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        > a {
          color: white;
        }
        i {
          color: white;
        }
      }
      .sub-cate {
        background-color: white;
        display: flex;
        display: none;
        position: absolute;
        left: 100%;
        top: 0px;
        width: 917px;

        .sub-cate-l {
          float: left;
          font-size: 14px;
          width: 494px;
          height: 430px;
          line-height: 28px;
          background: #fff;
          padding: 10px 0 0 30px;
          h4 {
            color: #f40;
          }
          .sub-cate-list {
            margin-bottom: 12px;
            a {
              color: #000;
              margin: 0 20px 12px 0;
            }
            .hl {
              color: #f40;
            }
          }
        }
        .sub-cate-r {
          height: 430px;
          background-color: gainsboro;
          margin: 0 20px;
          float: left;
          .sub-cate-list {
            ul {
              box-sizing: border-box;
              padding: 5px;
              li {
                img {
                  width: 104px;
                  height: 60px;
                  display: block;
                  margin: 3px 5px;
                  float: left;
                }
              }
            }
          }
        }
      }
    }
  }
}
.nav {
  padding-left: 44px;
  ul > li {
    line-height: 43px;
    float: left;
    text-align: center;
    margin: 0 10px;
    a {
      color: #000 !important;
      &:hover {
        color: #f40 !important;
      }
    }
  }
}
.news {
  width: 300px;
  height: 40px;
  position: relative;
  left: 250px;
  overflow: hidden;
  .tempwrap {
    line-height: 22px;
    font-size: 14px;
    a {
      color: gray;
    }
  }
}
